home *** CD-ROM | disk | FTP | other *** search
- -- card: 40059 from stack: in.0
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 39097
- -- name: CHANGING TEXT FROM SCRIPTS
-
-
- -- part 1 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=95 top=192 right=259 bottom=355
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name:
-
-
- -- part contents for background part 5
- ----- text -----
-
- Chunks of text in fields now have properties that can be manipulated from within HyperTalk scripts.
-
- For example:
-
-
-
- -- part contents for background part 6
- ----- text -----
- CHANGING TEXT FROM SCRIPTS
-
- -- part contents for card part 1
- ----- text -----
- set the TextFont of char 1 to 3 of fld "Words" to Times
-
- get the textSize of word 2 of fld 4
-
- set the TextStyle of word 1 of fld 1 to bold